﻿namespace CsharpPro._0925;

public class Demo
{
    public string Judge(int year)
    {
        if ((year%400 == 0)||(year%4==0&&year%100!=0))
        {
            return ($"{year}年是闰年");
        }
        else
        {
            return ($"{year}年不是闰年");
        }
        
    }
}